﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateUserPwd.aspx.cs" Inherits="UpdateUserPwd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="page_title">用户管理&nbsp; &gt; 修改口令</div>
    <form id="form1" runat="server">
    <div class="button_bar">
    <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" 
            onclick="btnSave_Click" />
</div>
    <table class="query_form_table">
	<tr>
		<th>用户名</th>
		<td><asp:TextBox ID="txtName" runat="server" ReadOnly="true"/> 
        </td>
	</tr>
    <tr>
    <th>原始密码</th>
    <td>
		<asp:TextBox ID="txtPwd" runat="server" TextMode="Password" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="*" ControlToValidate="txtPwd" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <th>修改密码</th>
        <td>
		<asp:TextBox ID="txtNPwd" runat="server" TextMode="Password" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ErrorMessage="*" ControlToValidate="txtNPwd" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <th>重复密码</th>
        <td>
		<asp:TextBox ID="txtRPwd" runat="server" TextMode="Password" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ErrorMessage="*" ControlToValidate="txtRPwd" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator><asp:CompareValidator ID="cbPwd"
                    runat="server" ErrorMessage="重复密码域修改密码不一致" ControlToCompare="txtNPwd" 
                ControlToValidate="txtRPwd"></asp:CompareValidator>
        </td>
    </tr>
	</table>

    </form>
</body>
</html>
